    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>图片名称：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" value="#(webSiteAd.name??'')"
                   maxlength="50" placeholder="请输入图片名称..." id="name" name="webSiteAd.name">
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>图片地址：</label>
        <div class="formControls col-xs-8 col-sm-9">
        
        	<div id="webSiteAdImg">选择图片</div>
            <div id="webSiteAdImg_prew">
            	#if(webSiteAd??)
	            	<img src="#(webSiteAd.url??'')" width="100px;">
	            #end
            </div>
            <input type="hidden" value="#(webSiteAd.url??'')"
                   id="webSiteAdImg_hidden" name="webSiteAd.url">
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>图片排序：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" value="#(webSiteAd.sort??'')"
                   maxlength="50" placeholder="请输入图片排序..." id="sort" name="webSiteAd.sort">
        </div>
    </div>
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>图片分类：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <span class="select-box inline">
	        	<select id="category" class="select" name="webSiteAd.category">
	        		<option>==请选择图片分类==</option>
	        		#for(x:objs)
	        			<option value="#(x.code)" #if(webSiteAd&&webSiteAd.category==x.code)selected#end>#(x.name??"")</option>
	        		#end
	        	</select>
		   </span>
        </div>
    </div>
<div class="row cl">
    <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
        <input type="hidden" value="#(webSiteAd.id??'')" id="id" name="webSiteAd.id">
        <input class="btn btn-primary radius" type="submit" value="  提交  ">
    </div>
</div>